/**
 * @api {get} /rules 获取规章制度
 * @apiName getRules
 * @apiGroup rules
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} [text] 标题【模糊匹配】(可选)
 * @apiParam {String} [page=1] 页数【可选】.
 * @apiParam {String} [pagesize=5] 条数【可选】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {get} /rules/:id 获取单条规章制度
 * @apiName getRule
 * @apiGroup rules
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} id ID【必填】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {put} /rules/:id 修改规章制度
 * @apiName editRule
 * @apiGroup rules
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} id ID【必填】.
 * @apiParam {String} [text] 标题【可选】.
 * @apiParam {String} [content] 内容【可选】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {post} /rules/insert 增加规章制度
 * @apiName insertRule
 * @apiGroup rules
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} text 标题【必填】.
 * @apiParam {String} content 内容【必填】.
 * @apiParam {Date} [add_time] 添加时间【可选】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {delete} /rules/:id 删除规章制度
 * @apiName deleteRule
 * @apiGroup rules
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} id ID【必填】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */